home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / john / hc_showd.hqx / ShowDialog XCMD 1.4 / card_9211.txt < prev    next >
Encoding:
Text File  |  1989-08-30  |  1.3 KB  |  36 lines

  1. -- card: 9211 from stack: in.4
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2607
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 2
  9. ----- text -----
  10. ShowDialog XCMD Type 4 Parameters
  11.  
  12. -- part contents for background part 3
  13. ----- text -----
  14. ShowDialog XCMD Type 4 (continued...)
  15.  
  16. -- part contents for background part 1
  17. ----- text -----
  18.  
  19.  
  20. The parameters for Type 4 of ShowDialog XCMD are:
  21.  
  22. ShowDialog 4,<DLOG resource ID>,<first prompt string>,<second prompt string>,<default entry string>,<popup menu variable>,<menu item checked>,[<top coord>,<left coord>]
  23.  
  24. where 4 is the type of the external;
  25. <DLOG resource ID> is the resource ID of the DLOG template;
  26. <first prompt string> consists of the dialog's first text string;
  27. <second prompt string> consists of the dialog's second text string (if you want one);
  28. <default entry string> is a default text string to appear in a text entry field;
  29. <popup menu variable> is a variable containing the items, separated by commas, that are to appear in the popup menu;
  30. <menu item checked> is the item NUMBER from your item list that will be initially checked on the popup menu and displayed in the dialog.
  31.  
  32. Once again, the last two parameters, for specifying the location of the dialog, are OPTIONAL.
  33.  
  34. -- part contents for background part 7
  35. ----- text -----
  36. 18